<script type="text/html" id="statusRadio">
  <input type="checkbox" id="{{d.id}}" name="status" value="{{d.status}}" lay-skin="switch" lay-text="正常|禁用" lay-filter="statusFilter" {{ d.status == 0 ? 'checked' : '' }}>
</script>

<script type="text/html" id="statusCheck">
  <input type="checkbox" id="{{d.id}}" name="status" value="{{d.status}}" title="正常" lay-filter="statusFilter" {{ d.status == 0? 'checked' : '' }}>
</script>

<script type="text/html" id="tool">
  <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>
  <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>



<script type="text/html" id="toolbar">
	<div class="layui-inline" lay-event="add">
		<i class="layui-icon layui-icon-add-1"></i>
	</div>
	<div class="layui-inline" lay-event="update">
		<i class="layui-icon layui-icon-edit"></i>
	</div>
	<div class="layui-inline" lay-event="delete">
		<i class="layui-icon layui-icon-delete"></i>
	</div>
    <div class="layui-inline" lay-event="status">
		<i class="layui-icon layui-icon-headset"></i>
	</div>
</script>


